package com.swas.dao;

import com.swas.entity.BaseSurvey;
import com.swas.entity.BaseSurveyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseSurveyDao {
    long countByExample(BaseSurveyExample example);

    int deleteByExample(BaseSurveyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BaseSurvey record);

    int insertSelective(BaseSurvey record);

    List<BaseSurvey> selectByExample(BaseSurveyExample example);

    BaseSurvey selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BaseSurvey record, @Param("example") BaseSurveyExample example);

    int updateByExample(@Param("record") BaseSurvey record, @Param("example") BaseSurveyExample example);

    int updateByPrimaryKeySelective(BaseSurvey record);

    int updateByPrimaryKey(BaseSurvey record);

    List<BaseSurvey> getBaseSurveyAll(Integer id);
}